#ifndef ELLIPSE
#define ELLIPSE

#define _USE_MATH_DEFINES
#include <math.h>
#include <iostream>
#include "Region.h"
using namespace std;

class Ellipse : public Region
{
public:
	Ellipse();
	Ellipse(double majorRad, double minorRad = 1.0);
	
	//Radii
	double major;
	double minor;

	//Geometry functions
	double getMajorRad();
	double getMinorRad();
	double getEccentricity();
	double getCircumference();

	bool pointInside(double *position, double error = 0.01);
};

#endif